package com.blb.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 广告表
 * </p>
 *
 * @author xray
 * @since 2023-03-30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("promotion_ad")
//@ApiModel(value = "PromotionAd对象", description = "广告表")
public class PromotionAd implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

//    @ApiModelProperty("广告名")
    private String name;

//    @ApiModelProperty("广告位id")
    private Integer spaceId;

//    @ApiModelProperty("精确搜索关键词")
    private String keyword;

//    @ApiModelProperty("静态广告的内容")
    private String htmlContent;

//    @ApiModelProperty("文字一")
    private String text;

//    @ApiModelProperty("链接一")
    private String link;

//    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

//    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer status;

//    @ApiModelProperty("优先级")
    private Integer priority;

    private String img;

}
